package pers.richard.ormybatis.bean.sql;

import pers.richard.ormybatis.bean.AbstractDomain;

/**
 * 运算表达式bean
 */
public class OrderByBean extends AbstractDomain {
	
	/**
	 * 字段名
	 */
	private String field;
	
	/**
	 * 排序方式desc or asc
	 */
	private String oper;
	
	public OrderByBean(){}
	
	public OrderByBean(String field, String oper){
		this.setField(field);
		this.setOper(oper);
	}

	public String getField() {return field;}
	public void setField(String field) {this.field = field;}

	public String getOper() {return oper;}
	public void setOper(String oper) {this.oper = oper;}
}
